Skip to content

fix #287 - set Output field in case of failure - #336

Merged
andystaples merged 2 commits into
microsoft:mainfrom
usemam:fix-issue-287
Nov 12, 2026
Merged

andystaples merged 2 commits into
microsoft:mainfrom
usemam:fix-issue-287

Conversation

@usemam

Copy link
Copy Markdown
Contributor

Fixes #287

Summary

When an orchestration fails under ErrorPropagationMode.UseFailureDetails, the SQL provider sets OrchestrationState.FailureDetails but leaves Output null. The Functions HTTP status API reads only Output, so failed instances report "output": null, while the Azure Storage backend returns error details.

Changes

  • SqlUtils.GetOrchestrationState: failed instances with failure details now also get Output = FailureDetails.ToString() ("{ErrorType}: {ErrorMessage}").

@andystaples
andystaples enabled auto-merge (squash) November 12, 2026 18:46
@andystaples
andystaples merged commit b48e203 into microsoft:main Nov 12, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failed functions don't return "Output" in StatusQueryGetURL

2 participants